﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebLibSolPedBE;

namespace WebApplication1
{
    public partial class formDocSOCompraDet : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CargarDatosCabecera();
            }
        }

        private void CargarDatosCabecera()
        {
            if (Session["objDocSOC"] != null)
            {
                DocSOCompraBE obj = (DocSOCompraBE)Session["objDocSOC"];
                lblBelnr.Text = obj.BELNR;
                lblDblart.Text = obj.DBLART;
                lblbudat.Text = obj.BUDAT;
                lblLifnr.Text = obj.DLIFNR;
                lblWrbtrWaers.Text = obj.WRBTR + " " + obj.WAERS;
                lblZuonr.Text = obj.XBLNR;
                lblKostl.Text = obj.BUDAT;

            }
        }
    }
}